package cn.hsw.manage.center.entity;

import cn.hsw.component.data.base.BaseModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李子木
 * @since 2021-11-03 08:56:37
 */
@Getter
@Setter
@TableName("hsw_manage_user_role")
@ApiModel(value = "user_role中间表", description = "")
@Builder
public class UserRoleCenter  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long pid;

    @TableField("role_pid")
    private Long rolePid;

    @TableField("user_pid")
    private Long userPid;
}
